Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/repository/src/commonMain/kotlin/org/meshtastic/core/repository/ReceivedRadioFrame.kt 65a1f5ce4d0e4b8eafcd0bbfccafd41dc6ee888a (65a1f5ce) Text, 1.76 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.repository

Tff7b72import T7ee787okio.ByteString

T8b949e/** Immutable identity of the transport session that admitted an inbound radio frame. */
Tff7b72data Tff7b72class T56d364RadioSessionContextTb4b4b4(Tff7b72val Te6edf3generationTb4b4b4: Tffa657LongTb4b4b4, Tff7b72val Te6edf3addressTb4b4b4: Tffa657StringTb4b4b4) Tb4b4b4{
T8b949e/** Prevent accidental disclosure of the real transport address in diagnostic interpolation. */
Tff7b72override Tff7b72fun Td2a8fftoStringTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657String Tff7b72= Ta5d6ff"Ta5d6ffRadioSessionContext(generation=Tffd700$Te6edf3generationTa5d6ff, address=...)Ta5d6ff"
Tb4b4b4}

T8b949e/**
* An inbound radio payload bound to the transport session that admitted it.
*
* [payload] is an immutable [ByteString], so queued work cannot observe later mutation of a transport-owned byte array.
* [session] retains the real internal address required for database association; callers must anonymize that address
* before logging it.
*/
Tff7b72data Tff7b72class T56d364ReceivedRadioFrameTb4b4b4(Tff7b72val Te6edf3payloadTb4b4b4: Te6edf3ByteStringTb4b4b4, Tff7b72val Te6edf3sessionTb4b4b4: Te6edf3RadioSessionContextTb4b4b4) Tb4b4b4{
T8b949e/** Prevent accidental disclosure of raw radio payloads in diagnostic interpolation. */
Tff7b72override Tff7b72fun Td2a8fftoStringTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657String Tff7b72= Ta5d6ff"Ta5d6ffReceivedRadioFrame(payloadSize=Tffd700${Te6edf3payloadTb4b4b4.Te6edf3sizeTffd700}Ta5d6ff, session=Tffd700$Te6edf3sessionTa5d6ff)Ta5d6ff"
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.06s